package css.sword.mapper;

import css.sword.entity.DfsBaseInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import css.sword.entity.DfsRelationShip;

import java.util.Map;

/**
 * <p>
 * DFS_BASE_INFO Mapper 接口
 * </p>
 *
 * @author wangke
 * @since 2018-10-17
 */
public interface DfsBaseInfoMapper extends BaseMapper<DfsBaseInfo> {

    int deleteByPrimaryKey(String md5Val);

    int insert(DfsBaseInfo record);

    int insertSelective(DfsBaseInfo record);

    DfsBaseInfo selectByPrimaryKey(String md5Val);

    int updateByPrimaryKeySelective(DfsBaseInfo record);

    int updateByPrimaryKey(DfsBaseInfo record);

    DfsBaseInfo selectByMd5Val(DfsBaseInfo record);

    void updateClick(DfsRelationShip drs);

    void updateRelateNum(DfsRelationShip drs);

    void updatePdfPath(Map map);
}
